package fr.cephb.joperon.webapp.tag;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;

public class ClearBufferTag  extends TagSupport
	{
	private static final long serialVersionUID = 1L;

	@Override
	public int doStartTag() throws JspException
		{
		return SKIP_BODY;
		}
	
	@Override
	public int doEndTag() throws JspException
		{
		try {
			super.pageContext.getOut().clear();
			} 
		catch (Exception e)
			{
			}
		return EVAL_PAGE;
		}
	}
